package com.cyy.common.pojo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class PageArticleReq {

    @Schema(description = "页码")
    @NotNull(message = "pageNum is required")
    private Integer pageNum;

    @Schema(description = "每页条数")
    @NotNull(message = "pageSize is required")
    private Integer pageSize;

    @Schema(description = "类型:NEW:最新文章,HOT:最热文章,ORIGINAL:原创文章,REPRODUCTION:转载文章,TAG:标签id,CATEGORY:分类id")
    private String type;

    @Schema(description = "业务ID")
    private Integer businessId;
}
